<?php
require_once "Common/database.php";
require_once "Common/values.php";

#echo '<p> User : '.$user ;
$result = mysql_query("SELECT * FROM tblJobs where LogNumber LIKE '$_POST[logsearch]'");

echo '<FORM action="index.php?m=h&p=hsearchas" method="POST">';

echo '<Table Border = 1>';
echo '<tr class="noborder"><td class="noborder"><h3>Solutions Search<p></h3></td></tr>';
echo '<tr><td><align=right>Log Number : <input type=text name="lognumber" value=%></td></tr>';
echo '<tr><td><p align=right>Date : <input type=text name="date" value="%"></td></tr>';
echo '<tr><td><p align=right>Time : <input type=text name="time" value="%"></td></tr>';
echo '<tr><td><p align=right>Operator : <input type=text name="operator" value="%"></td></tr>';
echo '<tr><td><p align=right>Solution : <input type=text name="s" value=%></td></tr>';
echo '<tr><td><p align=right>Include current : <input type="checkbox" name="current" value="checked" checked>';
echo '<tr><td><p align=right>Include archive : <input type="checkbox" name="archive" value="checked" checked>';
echo '<tr><td><INPUT type="image" src="img/go.gif"></td></tr>';

echo '</FORM></table>';
mysql_close();
?>